﻿<Window x:Class="SongTagger.UI.Wpf.View.ErrorDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Oops something went wrong..." MinHeight="128" MinWidth="512"
        WindowStartupLocation="CenterOwner" ShowInTaskbar="False"
        WindowStyle="None" BorderBrush="Red" BorderThickness="2"
        ResizeMode="NoResize" SizeToContent="WidthAndHeight">
    <DockPanel LastChildFill="True">
        <Button Content="OK" HorizontalAlignment="Center" Width="64" DockPanel.Dock="Bottom" Margin="5" Click="ButtonBase_OnClick"/>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="128"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Image Source="Images/error.png" Width="64" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            <StackPanel Grid.Column="1">
                <TextBlock Text="Oops something went wrong..." TextAlignment="Left" FontSize="16" FontWeight="Bold"/>
                <TextBlock Text="{Binding}" FontSize="14" Margin="24,8,4,4"/>
            </StackPanel>
        </Grid>
    </DockPanel>
</Window>
